<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <style type="text/css">
        * {
            margin: 0px;
            padding: 0px;
        }

        html,
        body {
            font-size: 19px;
            font-family: 'Verdana', 'Arial';
            color: rgba(0, 0, 0, 0.8);
            width: 100%;
            height: 100%;
        }

        .main {
            width: 100%;
            height: 100%;
            position: relative;
            background: url('../img/background.jpg') center top;
            background-size: cover;
        }

        .content {
            width: 800px;
            height: 400px;
            position: absolute;
            top: 50%;
            left: 50%;
            overflow: hidden;
            margin-top: -200px;
            margin-left: -400px;
            border-radius: 10px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
            z-index: 100;
            padding: 50px;
            box-sizing: border-box;
            /*不会把盒子撑开*/
        }

        .content::before {
            content: "";
            position: absolute;
            top: 0px;
            left: 0px;
            right: 0px;
            bottom: 0px;
            z-index: -1;
            /*-1 可以当背景*/
            -webkit-filter: blur(20px);
            filter: blur(20px);
            margin: -30px;  /*消除边缘透明*/
            background: url('../img/background.jpg') center top;
            background-size: cover;
            /*平铺*/
            background-attachment: fixed;
            /*位置固定*/
        }

        .content h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .content p {
            line-height: 1.7;
            /*1.7倍行间距*/
        }
    </style>
</head>

<body>
<div class="main">
    <div class="content">
        <h1>WARFRAME</h1>
        <p>The Grineer, with their endless clone armies, have plunged the system into chaos. There is only one force that can match them, you. You are Tenno, an ancient warrior, a master of gun and blade. You wield the mighty Warframes and command their awesome powers. Forge your weapons. Gather like-minded Tenno and take the fight back to the Grineer. The Origin System needs you once again. Are you ready?</p>
    </div>
</div>
</body>

</html>